const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('@/views/Home.vue')
  },
  {
    path: '/about',
    name: 'About',
    component: () => import('@/views/About.vue')
  },
  // 404页面
  {
    path: '/:pathMatch(.*)',
    component: () => import('@/views/NotFoundComponent/NotFoundComponent.vue')
  }
]

export { routes }
